package net.zoneland.geological.usermanage.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

/**
 * 表   名：TBL_USER<br/>
 * 注   释：用户信息表<br/>
 * 作   者：李义<br/>
 * 日   期：2017-05-28 20:56:35
**/
public class Tbl_user implements Serializable { 

	private static final long serialVersionUID = 1L;

	/**
	 * 所属区域编码
	**/
	public String getArea_code(){
		return this.area_code == null ? "":this.area_code.trim() ;
	}

	/**
	 * 所属区域编码
	**/
	public void setArea_code(String _area_code ){
		this.area_code = ( _area_code == null ? "":_area_code.trim() );
	}

	/**
	 * 更新时间
	**/
	public Date getUpdate_time(){
		return this.update_time == null ? new Date():this.update_time ;
	}

	/**
	 * 更新时间
	**/
	public void setUpdate_time(Date _update_time ){
		this.update_time = ( _update_time == null ? new Date():_update_time );
	}

	/**
	 * 登录账号
	**/
	public String getLogin_name(){
		return this.login_name == null ? "":this.login_name.trim() ;
	}

	/**
	 * 登录账号
	**/
	public void setLogin_name(String _login_name ){
		this.login_name = ( _login_name == null ? "":_login_name.trim() );
	}

	/**
	 * 终端IP
	**/
	public String getLogin_ip(){
		return this.login_ip == null ? "":this.login_ip.trim() ;
	}

	/**
	 * 终端IP
	**/
	public void setLogin_ip(String _login_ip ){
		this.login_ip = ( _login_ip == null ? "":_login_ip.trim() );
	}

	/**
	 * 电子邮箱
	**/
	public String getEmail(){
		return this.email == null ? "":this.email.trim() ;
	}

	/**
	 * 电子邮箱
	**/
	public void setEmail(String _email ){
		this.email = ( _email == null ? "":_email.trim() );
	}

	/**
	 * 创建时间
	**/
	public Date getCreate_time(){
		return this.create_time == null ? new Date():this.create_time ;
	}

	/**
	 * 创建时间
	**/
	public void setCreate_time(Date _create_time ){
		this.create_time = ( _create_time == null ? new Date():_create_time );
	}

	/**
	 * 地址
	**/
	public String getAddress(){
		return this.address == null ? "":this.address.trim() ;
	}

	/**
	 * 地址
	**/
	public void setAddress(String _address ){
		this.address = ( _address == null ? "":_address.trim() );
	}

	/**
	 * 最后登入时间
	**/
	public Date getLogin_time(){
		return this.login_time == null ? null:this.login_time;
	}

	/**
	 * 最后登入时间
	**/
	public void setLogin_time(Date _login_time ){
		this.login_time = ( _login_time == null ? null:_login_time );
	}

	/**
	 * 说明
	**/
	public String getDescription(){
		return this.description == null ? "":this.description.trim() ;
	}

	/**
	 * 说明
	**/
	public void setDescription(String _description ){
		this.description = ( _description == null ? "":_description.trim() );
	}

	/**
	 * 信息版本号
	**/
	public Integer getVersion(){
		return this.version;
	}

	/**
	 * 信息版本号
	**/
	public void setVersion(Integer _version ){
		this.version = _version;
	}

	/**
	 * 是否已删除
	**/
	public Integer getDeleted(){
		return this.deleted;
	}

	/**
	 * 是否已删除
	**/
	public void setDeleted(Integer _deleted ){
		this.deleted = _deleted;
	}

	/**
	 * 登录密码
	**/
	public String getPassword(){
		return this.password == null ? "":this.password.trim() ;
	}

	/**
	 * 登录密码
	**/
	public void setPassword(String _password ){
		this.password = ( _password == null ? "":_password.trim() );
	}

	/**
	 * 姓名
	**/
	public String getName(){
		return this.name == null ? "":this.name.trim() ;
	}

	/**
	 * 姓名
	**/
	public void setName(String _name ){
		this.name = ( _name == null ? "":_name.trim() );
	}

	/**
	 * 
	**/
	public String getId(){
		return this.id == null ? "":this.id.trim() ;
	}

	/**
	 * 
	**/
	public void setId(String _id ){
		this.id = ( _id == null ? "":_id.trim() );
	}

	/**
	 * 移动电话
	**/
	public String getMobile(){
		return this.mobile == null ? "":this.mobile.trim() ;
	}

	/**
	 * 移动电话
	**/
	public void setMobile(String _mobile ){
		this.mobile = ( _mobile == null ? "":_mobile.trim() );
	}

	/**
	 * 类属性声明
	**/
	/**
	 * 所属区域编码
	**/
	private String area_code = "";
	/**
	 * 更新时间
	**/
	private Date update_time = new Date();
	/**
	 * 登录账号
	**/
	private String login_name = "";
	/**
	 * 终端IP
	**/
	private String login_ip = "";
	/**
	 * 电子邮箱
	**/
	private String email = "";
	/**
	 * 创建时间
	**/
	private Date create_time = new Date();
	/**
	 * 地址
	**/
	private String address = "";
	/**
	 * 最后登入时间
	**/
	private Date login_time = null;
	/**
	 * 说明
	**/
	private String description = "";
	/**
	 * 信息版本号
	**/
	private Integer version = 1;
	/**
	 * 是否已删除
	**/
	private Integer deleted = 0;
	/**
	 * 登录密码
	**/
	private String password = "";
	/**
	 * 姓名
	**/
	private String name = "";
	/**
	 * 
	**/
	private String id =  UUID.randomUUID().toString();
	/**
	 * 移动电话
	**/
	private String mobile = "";
	
	private String province_code = "";
	
	private String city_code = "";

	public String getProvince_code() {
		return province_code;
	}

	public String getCity_code() {
		return city_code;
	}

	public void setProvince_code(String province_code) {
		this.province_code = province_code;
	}

	public void setCity_code(String city_code) {
		this.city_code = city_code;
	}
}
